<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">

    <!-- import Vue before Element -->
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <!-- import JavaScript -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>

</head>
<body>
<div id="app">

    <el-form :inline="true" :model="ruleForm" class="demo-form-inline">

        <el-form-item label="项目编码" prop="code">
            <el-input v-model="formData.code"/>
        </el-form-item>

        <el-form-item label="项目名称" prop="name">
            <el-input v-model="formData.name"/>
        </el-form-item>

        <el-form-item label="活动区域" prop="region">
            <el-select v-model="ruleForm.region" placeholder="请选择活动区域">
                <el-option label="区域一" value="shanghai"></el-option>
                <el-option label="区域二" value="beijing"></el-option>
                <el-option label="区域三" value="chizhou"></el-option>
            </el-select>
        </el-form-item>


        <el-form-item label="性别">

            <el-select v-model="formData.sex" placeholder="请选择">
                <el-option label="不限" value="0"></el-option>
                <el-option label="男" value="1"></el-option>
                <el-option label="女" value="2"></el-option>
            </el-select>

        </el-form-item>


        <el-form-item label="适用年龄">
            <el-input v-model="formData.age"></el-input>
        </el-form-item>


        <el-form-item label="类型">
            <el-select v-model="formData.type">
                <el-option label="检查" value="1"></el-option>
                <el-option label="检验" value="2"></el-option>
            </el-select>
        </el-form-item>

        <el-form-item label="价格">
            <el-input v-model="formData.age"></el-input>
        </el-form-item>

        <el-form-item label="项目说明">
            <el-input v-model="formData.age"></el-input>
        </el-form-item>

        <el-form-item label="注意事项">
            <el-input v-model="formData.age"></el-input>
        </el-form-item>



    </el-form>
</div>
<script>
    new Vue({
        el: '#app',

        data: {

            ruleForm: ''


        },

        method: {
            onSubmit() {
                console.log('submit!');
            }
        }
    })
</script>
</body>
</html>
